package com.haiqi.common.persistence.dao;

import com.haiqi.common.persistence.entity.ReportLineInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReportLineInfoMapper {
    int deleteByPrimaryKey(String id);

    int insert(ReportLineInfo record);

    int insertSelective(ReportLineInfo record);

    ReportLineInfo selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(ReportLineInfo record);

    int updateByPrimaryKey(ReportLineInfo record);

    int updateStateById(@Param(value = "showstate") String showstate,@Param(value = "id") String id);

    List<ReportLineInfo> selectAll();

    List<ReportLineInfo> selectByType(@Param(value = "linetype") String linetype);
}